package org.yaonan.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.yaonan.bean.TabBbsMessage;
import org.yaonan.bean.TabBbsMessageExample;

public interface TabBbsMessageMapper {
    int countByExample(TabBbsMessageExample example);

    int deleteByExample(TabBbsMessageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TabBbsMessage record);

    int insertSelective(TabBbsMessage record);

    List<TabBbsMessage> selectByExample(TabBbsMessageExample example);

    TabBbsMessage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TabBbsMessage record, @Param("example") TabBbsMessageExample example);

    int updateByExample(@Param("record") TabBbsMessage record, @Param("example") TabBbsMessageExample example);

    int updateByPrimaryKeySelective(TabBbsMessage record);

    int updateByPrimaryKey(TabBbsMessage record);
}